uniform sampler2D sampler;
uniform vec2 blockTextureIndex;
in vec2 texcoord2;

void main()
{
	gl_FragColor = texture2D(sampler, blockTextureIndex + texcoord2/16.0);
	//gl_FragColor = vec4(1.0, 0.0 , 0.0, 0.5);
}